<% @page_title = " :: #{@user.name}" if @user %>

<% content_for :sidebar do%>
	<div class="little_infos">
		<div class="little_content">
			<%= ('<span class="sidebar_title">Edit</span>' + \
				(link_to "Your information", :action => 'edit', :id => @user)) if @user && @user.is_updatable_by(current_user) %>	
		</div>
	</div>
<% end %>

<p><label>Name:&nbsp;</label>
<%= @user.name %></p>

<p><label>Login:&nbsp;</label>
<%= @user.login %></p>

<p><label>Email:&nbsp;</label>
<%= @user.email %></p>

<p><label>Registered since:&nbsp;</label>
<%= @user.created_at.to_date %></p>